package com.fengniu.ejb.business.impl;

import javax.ejb.EJB;
import javax.ejb.Stateless;

import org.jboss.ejb3.annotation.LocalBinding;
import org.jboss.ejb3.annotation.RemoteBinding;

import com.fengniu.ejb.business.IDeltaBusinessLocal;
import com.fengniu.ejb.business.IDeltaBusinessRemote;
import com.fengniu.ejb.dao.CategoryDaoLocal;
import com.fengniu.ejb.dao.ContentDaoLocal;
import com.fengniu.ejb.dao.DeltaDaoLocal;
import com.fengniu.ejb.dao.SiteDaoLocal;
import com.fengniu.ejb.dao.UserDaoLocal;
import com.fengniu.ejb.dao.util.IEJBConstants;

@Stateless
@LocalBinding(jndiBinding = IEJBConstants.DeltaBusinessLocalJndiName)
@RemoteBinding(jndiBinding = IEJBConstants.DeltaBusinessRemoteJndiName)
public class DeltaBusinessImpl implements IDeltaBusinessLocal, IDeltaBusinessRemote {
	@EJB(name = IEJBConstants.UserDaoLocalJndiName)
	private UserDaoLocal userDao;

	@EJB(name = IEJBConstants.SiteDaoLocalJndiName)
	private SiteDaoLocal siteDao;

	@EJB(name = IEJBConstants.ContentDaoLocalJndiName)
	private ContentDaoLocal contentDao;

	@EJB(name = IEJBConstants.CategoryDaoLocalJndiName)
	private CategoryDaoLocal categoryDao;

	@EJB(name = IEJBConstants.DeltaDaoLocalJndiName)
	private DeltaDaoLocal deltaDao;

}
